//全局变量
.hover-bg:hover {
    background-color: var(--color-fill);
}

.hover-bg.isActive {
    background-color: var(--color-fill);
}

 /* Tooltip 基础样式 */ 
 .tooltip-content {
    position: fixed;
    z-index: 9999;
    background: var(--color-info-700);
    color: var(--color-page);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    pointer-events: none;
    transition: opacity 0.2s ease;
    max-width: 250px;
    word-wrap: break-word;
}

/* Tooltip 箭头样式 */
.tooltip-arrow {
    position: absolute;
    border-width: 5px;
    border-style: solid;
    border-color: transparent;
    width: 0;
    height: 0;
}

/* 不同方向的箭头颜色 */
.tooltip-arrow-top {
    border-top-color: var(--color-info-700);
}

.tooltip-arrow-bottom {
    border-bottom-color: var(--color-info-700);
}

.tooltip-arrow-left {
    border-left-color: var(--color-info-700);
}

.tooltip-arrow-right {
    border-right-color: var(--color-info-700);
}

/* 淡入淡出动画 */
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.2s;
}

.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}

.font-bold {
    font-weight: bold;
}

.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s
}

.ease-in-out {
    transition-timing-function:
        cubic-bezier(.4, 0, .2, 1);
}

.duration-300 {
    transition-duration: .3s
}

.text-primary {
    color: var(--color-primary-600);
}


.m-l-xs{
    margin-left: 5px;
}
.m-l-sm{
    margin-left: 10px;
}
.m-l-md{
    margin-left: 15px;
}
.m-l-lg{
    margin-left: 20px;
}
.m-r-xs{
    margin-right: 5px;
}
.m-r-sm{
    margin-right: 10px;
}
.m-r-md{
    margin-right: 15px;
}
.m-r-lg{
    margin-right: 20px;
}
.m-t-xs{
    margin-top: 5px;
}
.m-t-sm{
    margin-top: 10px;
}
.m-t-md{
    margin-top: 15px;
}
.m-t-lg{
    margin-top: 20px;
}
.m-b-xs{
    margin-bottom: 5px;
}
.m-b-sm{
    margin-bottom: 10px;
}
.m-b-md{
    margin-bottom: 15px;
}
.m-b-lg{
    margin-bottom: 20px;
}
